import request from '@/utils/request'

// 查询审批完成信息列表
export function listApprovalFinish(query) {
  return request({
    url: '/approvalFinish/approvalFinish/list',
    method: 'get',
    params: query
  })
}

// 查询审批完成信息详细
export function getApprovalFinish(id) {
  return request({
    url: '/approvalFinish/approvalFinish/' + id,
    method: 'get'
  })
}

// 查询审批完成信息详细
export function checkFinishInformation(id) {
  return request({
    url: '/approvalFinish/approvalFinish/checkFinishInformation/' + id,
    method: 'get'
  })
}
// 新增审批完成信息
export function addApprovalFinish(data) {
  return request({
    url: '/approvalFinish/approvalFinish',
    method: 'post',
    data: data
  })
}

// 修改审批完成信息
export function updateApprovalFinish(data) {
  return request({
    url: '/approvalFinish/approvalFinish',
    method: 'put',
    data: data
  })
}

// 删除审批完成信息
export function delApprovalFinish(id) {
  return request({
    url: '/approvalFinish/approvalFinish/' + id,
    method: 'delete'
  })
}
